export const MQ_PROTOCOL = 'ws'     //connection protocol
// export const MQ_IP = '36.45.171.235'  //ip
//export const MQ_PORT = '15674'      //port
let API_SERVER = localStorage.getItem('api_server')
export const MQ_IP = (API_SERVER == null ? '10.19.0.2' : JSON.parse(API_SERVER)['ip'])
export const MQ_PORT = '15674'
export const MQ_VHOST= '/medical'//virtual host
export const MQ_ADDRESS = 'ws'
export const MQ_ACCOUNT = 'dev'   //account
export const MQ_PASSWORD = '@dev123'  //password
//export const MQ_SUBSCRIPT = '/exchange/station/1'
export const MQ_SUBSCRIPT = '/exchange/station/' + localStorage.getItem('id')//subscribe address

export const HIS_PORT='8081'